package com.cskaoyan.service.zy;

import com.cskaoyan.bean.bo.zy.WXOrderCommentBO;
import com.cskaoyan.bean.bo.zy.WXOrderListBO;
import com.cskaoyan.bean.bo.zy.WXOrderSubmitBO;
import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.marketBean.MarketOrderGoods;
import com.cskaoyan.bean.vo.zy.WXOrderDetailVO;
import com.cskaoyan.bean.vo.zy.WXOrderListVO;
import com.cskaoyan.bean.vo.zy.WXOrderSubmitVO;

import java.util.List;

public interface WXOrderModuleZYService {
    CommonData<WXOrderListVO> orderList(WXOrderListBO parama, Integer id);

    WXOrderSubmitVO orderSubmit(WXOrderSubmitBO param, List<Integer> cartIdList, Integer userId);

    void orderPrepay(Integer orderId, Integer userId);

    WXOrderDetailVO orderDetail(Integer orderId, Integer userId);

    MarketOrderGoods orderGoods(Integer orderId, Integer goodsId);

    void orderConfirm(int id);

    void orderDelete(Integer orderId);

    void orderCancel(Integer orderId);

    void orderRefund(Integer orderId);

    Integer orderComment(WXOrderCommentBO param, Integer userId);
}
